package com.example.prison.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName car_traffic_record
 */
@TableName(value ="car_traffic_record")
@Data
public class CarTrafficRecord implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 车牌号
     */
    @TableField(value = "number")
    private String number;

    /**
     * 通行时间
     */
    @TableField(value = "time")
    private String time;

    /**
     * 通行描述
     */
    @TableField(value = "describe")
    private String describe;

    /**
     * 设备序列号
     */
    @TableField(value = "sn")
    private String sn;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}